package com.qiguliuxing.dts.admin.dao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class IorderSpitSheet {

     private Integer concentration;//浓度
    private Integer total119Bo;//119瓶子数量
    private Integer total120Bo;//120瓶子数量
    private Integer total121Bo;//121瓶子数量
    private Integer total122Bo;//122瓶子数量
    private String productionDate;//生产时间
    private String measureTime;//测量时间 yyyy-MM-dd hh-mm-ss
    private String concentrationGBq;//浓度GBQ单位
    private String batchNumber;
    private Integer totalCounts;
    private String overdue;
    private Integer totalB;



     private List<Tc119> listTc119;
     private List<Tc120> listTc120;
     private List<Tc121> listTc121;
     private List<Tb119> listTb119;
     private List<Tb120> listTb120;
     private List<Tb121> listTb121;
     private List<Kc119> listKc119;
     private List<Kc120> listKc120;
     private List<Kc121> listKc121;
     private List<Kc122> listKc122;

     @Data
     public static class Tc119 implements Comparable<Tc119>{
         private Double volumeTc119;
         private String countTc119;

         @Override
         public int compareTo(Tc119 o) {
             return Double.compare(this.volumeTc119,o.volumeTc119);
         }
     }
    @Data
    public static class Tc120 implements Comparable<Tc120>{
        private Double volumeTc120;
        private String countTc120;

        @Override
        public int compareTo(Tc120 o) {
            return Double.compare(this.volumeTc120,o.volumeTc120);
        }
    }
    @Data
    public static class Tc121 implements Comparable<Tc121>{
        private Double volumeTc121;
        private String countTc121;

        @Override
        public int compareTo(Tc121 o) {
            return Double.compare(this.volumeTc121,o.volumeTc121);
        }
    }
    @Data
    public static class Tb119 implements Comparable<Tb119>{
        private Double volumeTb119;
        private String countTb119;

        @Override
        public int compareTo(Tb119 o) {
            return Double.compare(this.volumeTb119,o.volumeTb119);
        }
    }
    @Data
    public static class Tb120 implements Comparable<Tb120>{
        private Double volumeTb120;
        private String countTb120;

        @Override
        public int compareTo(Tb120 o) {
            return Double.compare(this.volumeTb120,o.volumeTb120);
        }
    }
    @Data
    public static class Tb121 implements Comparable<Tb121>{
        private Double volumeTb121;
        private String countTb121;

        @Override
        public int compareTo(Tb121 o) {
            return Double.compare(this.volumeTb121,o.volumeTb121);
        }
    }
    @Data
    public static class Kc119 implements Comparable<Kc119>{
        private Double volumeKc119;
        private String countKc119;

        @Override
        public int compareTo(Kc119 o) {
            return Double.compare(this.volumeKc119,o.volumeKc119);
        }
    }
    @Data
    public static class Kc120 implements Comparable<Kc120>{
        private Double volumeKc120;
        private String countKc120;

        @Override
        public int compareTo(Kc120 o) {
            return Double.compare(this.volumeKc120,o.volumeKc120);
        }
    }
    @Data
    public static class Kc121 implements Comparable<Kc121>{
        private Double volumeKc121;
        private String countKc121;

        @Override
        public int compareTo(Kc121 o) {
            return Double.compare(this.volumeKc121,o.volumeKc121);
        }
    }
    @Data
    public static class Kc122 implements Comparable<Kc122>{
        private Double volumeKc122;
        private String countKc122;

        @Override
        public int compareTo(Kc122 o) {
            return Double.compare(this.volumeKc122,o.volumeKc122);
        }
    }


/*
    private double volume;//分装量
    private Integer count;//件数
    private String deliveryType;//发货方式
    private String packingType;//包装规格
*/
    @Data
    public static class InfoAll{

        private  Integer  showId;
        private String userName;
        private String deliveryType;
        private  Integer orderCount;
        private String useTime;
        private Integer pieces;
        private String productionDate;//生产日期
        private String measureTime;//测量时间
        private  Integer concentration;
        private  Double totalCal;
        private Double avgCac;//平均每件多少量(单位毫升)。
        private Double allcac;//总共多少量（单位毫升）
        private String packType;
        private String pzwh;//批准文号
        private  String concentrationGbq;
        private String specs;//规格（3700/7400/1850mgbq）
        private String overdue;//有效期
        private String splitBase;//分装量基数
        private String packageBase;//包装量基数
        private Double splitQuatity;//包装量
        private String orderNumber;//订单编号
        private String orderLineNumber;//订单行编号
        private Integer unitPrice;//单价
        private String  batchNumber;//产品批号
        private Integer totalPrice;//总价
        private String  consegnee;//收货人
        private String  consegneePhone;//收货人电话
        private String  address;//收货地址
        private String  arrivalStation;//收货到站
        private String  splitDate;//分装日期
        private String labelCount;//标签打印量
        private String chineseYuan;//人民币大写金额
        private String transportIndex;//运输指数
        private String actPack;//实际发出
        private String packMbq;//MBQ




    }


}
